package twine

// table 1
var sbox = []byte{
    0x0C, 0x00, 0x0F, 0x0A, 0x02, 0x0B, 0x09, 0x05,
    0x08, 0x03, 0x0D, 0x07, 0x01, 0x0E, 0x06, 0x04,
}

// table 2
var shuf = []int{
    5, 0, 1, 4, 7, 12, 3, 8,
    13, 6, 9, 2, 15, 10, 11, 14,
}

var shufinv = []int{
    1, 2, 11, 6, 3, 0, 9, 4,
    7, 10, 13, 14, 5, 8, 15, 12,
}

// table 3
var roundconst = []byte{
    0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x03, 0x06, 0x0c, 0x18, 0x30, 0x23, 0x05, 0x0a, 0x14, 0x28, 0x13, 0x26,
    0x0f, 0x1e, 0x3c, 0x3b, 0x35, 0x29, 0x11, 0x22, 0x07, 0x0e, 0x1c, 0x38, 0x33, 0x25, 0x09, 0x12, 0x24, 0x0b,
}
